.profile {
  position: relative;
  .backImg {
    width: 100%;
    position: absolute;
    top: -80px;
    left: 0;
    // border-bottom-left-radius: 50px;
    // border-bottom-right-radius: 50px;
  }
  // 用户信息
  .userInfo {
    z-index: 99;
    width: 80%;
    height: 170px;
    margin: 80px auto 0;
    border-radius: 8px;
    box-shadow: 1px 1px 13px 1px #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 40px;
    background-color: #fff;
    .img {
      width: 80px;
      position: absolute;
      top: -40px;
      left: auto;
      border-radius: 50%;
    }
    .username {
      margin-bottom: 10px;
      margin-top: 15px;
      font-size: 14px;
    }
    .logout {
      margin-bottom: 20px;
      border: 0;
      color: #fff;
      background-color: lightseagreen;
      padding: 5px 12px;
      border-radius: 8px;
    }
    .edit {
      color: #999;
      text-decoration: none;
    }
  }

  // 个人功能
  .grid {
    margin-top: 40px;
    .gridItem {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
      .iconfont {
        font-size: 26px;
      }
      span {
        font-size: 14px;
      }
    }
  }
}
